<template>
    <div>
      图书管理
    </div>
</template>

<script>
  import {getBookPage} from "../api";

  export default {
    name: "BookPage",
    data(){
      return {
        pageNum: 1,
        bookList: []
      }
    },
    created() {
      let that = this
      getBookPage(1).then(res =>{
        // console.log('getBookPage:  ',res.data.pageList);
        that.bookList = res.data.pageList;
        console.log(that.bookList);
      })
    },
    methods: {

    },
  }
</script>

<style scoped>

</style>
